<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich">

<h:head>
	<title><ui:insert name="windowTitle" />
	</title>
	<h:outputStylesheet library="css" name="styles.css" />
</h:head>

<h:body>
	<h:form id="loginForm" prependId="false">
		<h:panelGrid columns="1">
			<ui:param name="bean" value="#{loginBean}" />
			<h:outputLabel id="userNameLbl" value="login" for="j_username" />
			<h:inputText id="j_username" value="#{bean.login}" />

			<h:outputLabel id="passwordLbl" value="hasło" for="j_password" />
			<h:inputSecret id="j_password" value="#{bean.password}" />
			<h:commandButton id="loginButton" action="#{bean.login}"
				value="zaloguj" />
		</h:panelGrid>
	</h:form>
</h:body>
</html>